package Var1022.Petsystem;


public class Test {
    public static void main(String[] args) {
        Cat c = new Cat("加菲猫", "加菲猫", 20,"猫粮","主人的房间里");
        c.show();
        c.ps();
        c.eat();
        c.sleep();
        Dog dogs = new Dog("小黑", "拉布拉多", 15,"狗粮","主人的房间里");
        dogs.show();
        dogs.zls();
        dogs.eat();
        dogs.sleep();
        Parrot parrot = new Parrot("小五", "紫蓝金刚鹦鹉", 5,"虫子","鸟笼里");
        parrot.show();
        parrot.fx();
        parrot.eat();
        parrot.sleep();
    }
}
